#pragma once
#include <map>
#include "UDll.h"
#include "ActionInfo.h"

class CBaseForm;


class CActionMgr
{
public:
	static CActionMgr& Instance();
	
	virtual ~CActionMgr(void);
	BOOL StartAction(const ActionInfo& action);
	BOOL StopAction(const CString& action);



	CBaseForm* CreateCurrentForm(CWnd* pParent);

	std::map<CString,CString> m_Act_DllMap;
	CString GetCurrentActionName() const;
protected:
	std::map<CString,LIB_NS::UDll::HLIB> m_DllName_Handler_maps;
	ActionInfo m_curAction;
private:
	CActionMgr(void);


};
